package com.pinyougou.sellergoods.service;

import java.util.List;
import java.util.Map;

import com.pinyougou.pojo.TbBrand;

import entity.PageResult;
import entity.Result;

public interface BrandService {
	//查询所有
	public List<TbBrand> findAll();
	
	//品牌分页   pageNum的当前页   pageSize每页大小
	public PageResult findPage(int pageNum,int pageSize);
	
	//新增商品
	public void add(TbBrand brand);
	
	public void update(TbBrand brand);
	
	public TbBrand findOne(Long id);
	
	public void dele(Long[] ids);
	
	public PageResult findPage(TbBrand brand ,int pageNum,int pageSize);

	/**
	 * 品牌下拉框数据
	 */
	List<Map> selectOptionList();

}
